export interface User {
    id?: number,
    username: string,
    name: string,
    password: string,
    roleName?: string,
    createTime?: string,
    updateTime?: string,
    phone?: string,
}
export interface UserListResponse {
    code: number,
    message: string,
    data: {
        records: User[],
        total: number,
        size: number,
        current: number,
        pages: number
    }
    ok: boolean
}
export interface RoleData{
    id: number,
    createTime?: string,
    updateTime?: string,
    roleName: string,
    remark?: null
}
export interface RoleListResponse{
    code: number,
    message: string,
    data: {
        assignRoles: RoleData[],
        allRolesList: RoleData[]
    }
    ok: boolean
}
export interface SetRoleData{
    userId: number,
    roleIdList: number[]
}
